﻿<Window x:Class="frmAdminLetterPacks"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Admin Letter Packs" Height="780" Width="1006" Background="Gray" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
    <Grid>
        <GroupBox Header="Letter Types" Height="84" HorizontalAlignment="Left" Margin="5,4,0,0" Name="GroupBox4" VerticalAlignment="Top" Width="362">
            <Grid>
                <RadioButton HorizontalAlignment="Left" Margin="6,11,0,0" Name="radAll" Width="36" Height="18" VerticalAlignment="Top">All</RadioButton>
                <RadioButton Margin="53,11,0,0" Name="radFromList" HorizontalAlignment="Left" Width="69" Height="18" VerticalAlignment="Top">From List</RadioButton>
                <ComboBox BorderBrush="Black" Height="22.8" Margin="145,6,6,0" Name="drpLetterTypes" VerticalAlignment="Top" />
                <Button HorizontalAlignment="Left" Margin="7,0,0,6" Name="btnAddNewLetterPack" Width="123" Height="18.8" VerticalAlignment="Bottom">Add New Letterpack</Button>
                <Button Margin="145,0,135,6" Name="btnDeleteLetterpack" Height="18.8" VerticalAlignment="Bottom">Delete</Button>
            </Grid>
        </GroupBox>
        <GroupBox Header="Letter Packs" Margin="4,91,0,12" Name="GroupBox1" HorizontalAlignment="Left" Width="363">
            <Grid>
                <!--<ListView Margin="3,6,6,6" Name="grdLetterPacks" />-->
                <telerik:RadGridView Margin="3,6,6,6" Name="grdLetterPacks"/>
            </Grid>
        </GroupBox>
        <GroupBox Header="Letters in Pack" Margin="373,4,5,349" Name="GroupBox2">
            <Grid>
                <!--<ListView Margin="6,6,106,95" Name="lvwLetters" />-->
                <telerik:RadGridView Margin="6,6,106,95" Name="lvwLetters"/>
                <Button Height="23" HorizontalAlignment="Right" Margin="0,11,16,0" Name="btnClose" VerticalAlignment="Top" Width="70">Close</Button>
                <Button Height="23" HorizontalAlignment="Right" Margin="0,42,16,0" Name="btnAdd" VerticalAlignment="Top" Width="70">Add</Button>
                <Button Height="23" HorizontalAlignment="Right" Margin="0,73.8,16,0" Name="btnDelete" VerticalAlignment="Top" Width="70">Delete</Button>
                <Button Height="23" HorizontalAlignment="Right" Margin="0,107,16,0" Name="btnUp" VerticalAlignment="Top" Width="70">Move Up</Button>
                <Button Height="22.8" HorizontalAlignment="Right" Margin="0,140,15,0" Name="btnDown" VerticalAlignment="Top" Width="70">Move Down</Button>
                <Button HorizontalAlignment="Right" Margin="0,174,15,173" Name="ViewCopy" Width="70">View Copy</Button>
                <Label Height="22" HorizontalAlignment="Left" Margin="5,0,0,45" Name="Label2" VerticalAlignment="Bottom" Width="72">Client Type</Label>
                <Label Height="22" HorizontalAlignment="Left" Margin="5,0,0,17" Name="Label3" VerticalAlignment="Bottom" Width="71">Output Type</Label>
                <Label Background="White" BorderBrush="Black" BorderThickness="1" Height="20" HorizontalAlignment="Left" Margin="83,0,0,45" Name="lblClientType" VerticalAlignment="Bottom" Width="127" />
                <Label Background="White" BorderBrush="Black" BorderThickness="1" Height="20" HorizontalAlignment="Left" Margin="82,0,0,17" Name="lblOutputType" VerticalAlignment="Bottom" Width="128" />
                <Label Height="22" HorizontalAlignment="Left" Margin="79,0,0,68" Name="Label1" VerticalAlignment="Bottom" Width="131">Letters can be used with</Label>
                <Label Height="22" Margin="223,0,238,67" Name="Label4" VerticalAlignment="Bottom">Set to</Label>
                <ComboBox BorderBrush="Black" Height="22.8" Margin="223,0,158,45" Name="drpClientType" VerticalAlignment="Bottom" />
                <ComboBox BorderBrush="Black" Height="22.8" Margin="223,0,158,16" Name="drpOutputType" VerticalAlignment="Bottom" />
                <Label Height="22" HorizontalAlignment="Right" Margin="0,0,63,68" Name="Label5" VerticalAlignment="Bottom" Width="85">Copies to Print</Label>
                <ComboBox BorderBrush="Black" Height="22.8" HorizontalAlignment="Right" Margin="0,0,20,45" Name="drpCopies" VerticalAlignment="Bottom" Width="123">
                    <ComboBoxItem>1</ComboBoxItem>
                    <ComboBoxItem>2</ComboBoxItem>
                    <ComboBoxItem>3</ComboBoxItem>
                    <ComboBoxItem>4</ComboBoxItem>
                    <ComboBoxItem>5</ComboBoxItem>
                </ComboBox>
                <Button Height="22.8" HorizontalAlignment="Right" Margin="0,0,81,16" Name="btnSave" VerticalAlignment="Bottom" Width="62">Save</Button>
                <Button Height="22.8" HorizontalAlignment="Right" Margin="0,0,20,16" Name="btnCancel" VerticalAlignment="Bottom" Width="55">Cancel</Button>
            </Grid>
        </GroupBox>
        <ListView Height="121" Margin="373,0,381,222" Name="lvwSLS" VerticalAlignment="Bottom" >
            <ListView.View >
                <GridView Selector.IsSelected="True">
                    <GridViewColumn DisplayMemberBinding="{Binding Path=SLSLink_SLSID}"></GridViewColumn>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=SLS_Name}" Width=" 150"></GridViewColumn>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=SLSType_Name}" Width=" 150"></GridViewColumn>
                </GridView>
            </ListView.View>
        </ListView>
        <Button Height="23" HorizontalAlignment="Right" Margin="0,0,269,320" Name="btnRemoveFromSLS" VerticalAlignment="Bottom" Width="102">Remove from SLS</Button>
        <Button Height="23" HorizontalAlignment="Right" Margin="0,0,269,289" Name="btnRemoveFromAll" VerticalAlignment="Bottom" Width="102">Remove from All</Button>
        <Button Height="23" HorizontalAlignment="Right" Margin="0,0,269,257" Name="btnAddToAll" VerticalAlignment="Bottom" Width="102">Add to All</Button>
        <Button Height="23" HorizontalAlignment="Right" Margin="0,0,269,224" Name="btnAddToSLS" VerticalAlignment="Bottom" Width="102">Add to SLS</Button>
        <GroupBox Header="Available Stock Letters" Height="249" HorizontalAlignment="Right" Margin="0,0,5,94" Name="GroupBox3" VerticalAlignment="Bottom" Width="258">
            <Grid>
                <ComboBox BorderBrush="Black" Height="22.8" Margin="6,27,76,0" Name="drpLimitTo" VerticalAlignment="Top" />
                <RadioButton Height="18" HorizontalAlignment="Left" Margin="7,4,0,0" Name="radShowAll" VerticalAlignment="Top" Width="62">Show All</RadioButton>
                <RadioButton Height="18" Margin="87,4,49,0" Name="radLimitTo" VerticalAlignment="Top">Limit To</RadioButton>
                <ListView Margin="4,56,0,6" Name="lvwAvailable" >
                    <ListView.View >
                        <GridView Selector.IsSelected="True">
                            <GridViewColumn DisplayMemberBinding="{Binding Path=SLS_ID}"></GridViewColumn>
                            <GridViewColumn DisplayMemberBinding="{Binding Path=SLS_Name}" Width=" 150"></GridViewColumn>                            
                        </GridView>
                    </ListView.View>
                </ListView>
            </Grid>
        </GroupBox>
        <GroupBox Header="Client Type" Height="86" Margin="373,0,480,132" Name="GroupBox5" VerticalAlignment="Bottom">
            <Grid>
                <RadioButton Height="19" Margin="10,4,29,0" Name="radClientAll" VerticalAlignment="Top">All</RadioButton>
                <RadioButton Height="20" Margin="10,0,29,-2" Name="radClientCorp" VerticalAlignment="Bottom">Corporate</RadioButton>
                <RadioButton Margin="10,27,52,20" Name="radClientPrivate">Private</RadioButton>
            </Grid>
        </GroupBox>
        <GroupBox Header="Available From" Height="114" Margin="373,0,480,12" Name="GroupBox6" VerticalAlignment="Bottom">
            <Grid Height="97">
                <RadioButton Height="16" Margin="10,3,42,0" Name="radFromLead" VerticalAlignment="Top">New Lead</RadioButton>
                <RadioButton Margin="10,25,52,0" Name="radFromSold" Height="19" VerticalAlignment="Top">Sold</RadioButton>
                <RadioButton Margin="10,46,20,36" Name="radFromCustom">Custom</RadioButton>
                <ComboBox BorderBrush="Black" Height="22.8" Margin="0,0,0,7" Name="drpFromCustom" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="107" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Available Until" Margin="0,0,333,68.8" Name="GroupBox7" Height="149.2" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="137">
            <Grid Height="129">
                <RadioButton Height="16" Margin="10,3,42,0" Name="radToSold" VerticalAlignment="Top">Sold</RadioButton>
                <RadioButton Height="19" Margin="10,25,52,0" Name="radToClosed" VerticalAlignment="Top">Closed</RadioButton>
                <RadioButton Margin="10,49,20,64" Name="radToAfterClosed">After Closed</RadioButton>
                <ComboBox BorderBrush="Black" Height="22.8" Margin="0,0,5,7" Name="drpToCustom" VerticalAlignment="Bottom" />
                <RadioButton Height="22.3" Margin="10,0,20,36" Name="radToCustom" VerticalAlignment="Bottom">Custom</RadioButton>
            </Grid>
        </GroupBox>
    </Grid>
</Window>
